package cn.com.wxUtil;

/**
 * Created with IntelliJ IDEA.
 * User: yue
 * Date: 2018-03-30
 * Time: 19:55
 * Description:
 */
public class wxConstant {
    public static final String APPID="wx28137528517301b0";
    public static final String SECRET="e5a1e435e91fb9dc779cd1ae506cc01e";  // 小程序的 app secret   
    public static final String PAY_KEY="e34ea811b39d86e8fc12c1c6c828c920";// 这个是微信支付的key (api_key)
    public static final String MCH_ID = "1503348901";
    public static final String AT_URL="https://api.weixin.qq.com/cgi-bin/token";
    public static final String AT_GRANT_TYPE="client_credential";
    public static final String USER_AT_URL="https://api.weixin.qq.com/sns/oauth2/access_token";
    public static final String USER_AT_GRANT_TYPE="authorization_code";
    public static final String USER_INFO_URL="https://api.weixin.qq.com/sns/userinfo";
    public static final String UNIONID_URL="https://api.weixin.qq.com/sns/jscode2session";
    public static final String TEMPLATE_ID_PAY = "4lTSE0BIFPzuXLCkvKtrnIBx1SDedRzQY6GJOiEakrc";  // 支付成功模板消息
    public static final String TEMPLATE_ID_ACCEPTORDER = "cH-yHuVup6qMqdQPZmsYuo6bzZw4Zc2_3nsYJbLTXtU";  // 接单成功模板消息
    public static final String TEMPLATE_ID_DELIVERGOODS = "u-Mlnbr_W513P71AwhqSYZqv65qqnsxAT40Wt8h3ynw"; // 发货提醒
    public static final String TEMPLATE_ID_REFUSEORDER = "y6XXeEPIl8upQdFlG2QmFD44tNVig9O7EqRlEkms3GM";  // 拒绝订单提醒
    public static final String TEMPLATE_ID_RECEIPTGOODS = "VchscHrYZdkiSA-pq_WwoumsmL_UspdSBngSnF_gYKU"; // 买家确认收货
    public static final Integer SUCCESS=1;   // 微信支付结果(result)
    public static final Integer FAIL=0;       // 微信支付结果(result)
    
}
